#ifndef EXTRACTFUNCTION_HPP
#define EXTRACTFUNCTION_HPP

#include "CtrlLib/CtrlLib.h"

using namespace Upp;

struct FunctionInfo: Moveable<FunctionInfo> {
    String function_name;
    int lineno_start;
    int lineno_end;
    Vector<String> parameters;

    FunctionInfo():lineno_start(0),lineno_end(0) {}
    // FunctionInfo(const FunctionInfo& other) : function_name(other.function_name), line(other.line), parameters(other.parameters) {}

    ~FunctionInfo() 
    {
    }

};

Vector<FunctionInfo> extract_functions(String fpath);

#endif

